package designPattern.singleton单例模式;

public class Test {

    public static void main(String[] args) {
        Elvis obj1 = Elvis.INSTANCE;
        obj1.hello();

        Elvis obj2 = Elvis.INSTANCE;

        System.out.println(obj1 == obj2);
    }
}
